package com.kaifamiao.annotation;

import org.springframework.stereotype.Repository;

import java.util.logging.Logger;

//<bean id="tigerDao" class="com.kaifamiao.annotation.TigerDao" />
//@Repository("tigerDao")
@Repository
public class TigerDao {

    private static Logger logger = Logger.getGlobal();

    public boolean persist( Tiger t ) {
        logger.info( "保存" + t.getName() );
        return true;
    }

}
